var Sequelize = require('sequelize');
var {sequelize} = require('../sequelize.js');

var tags = sequelize.define('tags',{
    id: {
        type: Sequelize.BIGINT(20),
        primaryKey: true,
        allowNull: false,
        unique: true,
        autoIncrement: true
    },
    name: Sequelize.STRING(255), // 标题
    desc: Sequelize.STRING(255), // 内容
},{
    timestamps: false,
    freezeTableName: true
});

module.exports = tags;